package com.machine.dao.order;

import java.util.List;

import com.machine.bean.PriceOrder;

public interface PriceOrderDao {
	public List<PriceOrder> findAll(String providerName,String buyName,int offset, int length);
	
	public int add(PriceOrder priceOrder);
	
	public int delete(PriceOrder priceOrder);
	
	public int update(PriceOrder priceOrder);
	
	public PriceOrder find(PriceOrder priceOrder);
	
	public int deleteByIdList(List<Integer> list);

	public PriceOrder findById(Integer id);
	public int getAllRowCount(String hql);

}
